package
{
	import model.CategoryVO;
	import model.ProjectVO;
	import model.TaskVO;
	
	public class TestDataConnector
	{
		public var localData:LocalData;

		public function TestDataConnector(localdata:LocalData)
		{
			this.localData = localdata;
			this.getData();
		}

		public function getData():void
		{
			localData.addTask( new TaskVO("Send timecard info to Boss",
								   new ProjectVO("Work", 1),
								   new CategoryVO("Paperwork", 1),
								   true,
								   new Date(2008,11,7) ) );
			localData.addTask( new TaskVO("Get unittesting done",
								   new ProjectVO("Work", 1),
								   new CategoryVO("Coding", 2),
								   false,
								   new Date(2008,10,30) ) );
			localData.addTask( new TaskVO("Replant Tomatoes",
								   new ProjectVO("Home", 2),
								   new CategoryVO("Garden", 3),
								   true,
								   new Date(2008,11,5) ) );
			localData.addTask( new TaskVO("Get through pictures",
								   new ProjectVO("Home", 2),
								   new CategoryVO("Photography", 4),
								   false,
								   new Date(2008,5,15) ) );
		}


	}
}